﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tasks.Common.Entitys
{
    /// <summary>
    /// 门票详细信息，包含实时价格信息
    /// </summary>
    public class SceneryTicketDetail
    {
        public SceneryTicketDetail() { }

        #region SceneryTicketID

        private Int32 m_sceneryTicketID;

        /// <summary>Gets or sets SceneryTicketID</summary>
        public Int32 SceneryTicketID
        {
            get { return m_sceneryTicketID; }
            set { m_sceneryTicketID = value; }
        }

        #endregion

        #region TicketName

        private String m_ticketName;

        /// <summary>Gets or sets TicketName</summary>
        public String TicketName
        {
            get { return m_ticketName; }
            set { m_ticketName = value; }
        }

        #endregion

        #region State

        private Int32 m_state;

        /// <summary>Gets or sets State</summary>
        public Int32 State
        {
            get { return m_state; }
            set { m_state = value; }
        }

        #endregion

        public int SceneryID { get; set; }

        /// <summary>Gets or sets SceneryName</summary>
        public String SceneryName { get; set; }

        /// <summary>Gets or sets Cost</summary>
        public Decimal Cost { get; set; }

        /// <summary>门票销售价</summary>
        public Decimal Price { get; set; }

        /// <summary>同行结算价</summary>
        public Decimal BusinessPrice { get; set; }

        /// <summary>网站价</summary>
        public Decimal NetPrice { get; set; }

        public Decimal MarketPrice { get; set; }

        public string TicketType { get; set; }

        public string SceneryTicketNo { get; set; }

        public string ExtSceneryTicketNo { get; set; }

        public string Remark { get; set; }
        public int OwnerID { get; set; }

        /// <summary>
        /// 最少用户数
        /// </summary>
        public int MinUserCount { get; set; }
        /// <summary>
        /// 客户类型  1 散客 2 团队
        /// </summary>
        public int ClientType { get; set; }

        #region "价格信息"

        public DateTime AvailableDate { get; set; }
        public int SceneryTicketPriceID { get; set; }

        /// <summary>
        /// 允许签单，先欠款，后付费
        /// </summary>
        public int AllowPaymentMode1 { get; set; }
        /// <summary>
        /// 允许到付，到商家消费付款
        /// </summary>
        public int AllowPaymentMode2 { get; set; }
        /// <summary>
        /// 允许预付，先付款后消费
        /// </summary>
        public int AllowPaymentMode3 { get; set; }

        /// <summary>
        /// 签单卖价，卖给客人的价格
        /// </summary>
        public decimal Price1 { get; set; }
        /// <summary>
        /// 到付卖价，客人到付支付的价格
        /// </summary>
        public decimal Price2 { get; set; }
        /// <summary>
        /// 预付卖价，客人提前支付支付的价格
        /// </summary>
        public decimal Price3 { get; set; }
        /// <summary>
        /// 签单结算价，与分销商结算价格
        /// </summary>
        public decimal SettlementPrice1 { get; set; }
        /// <summary>
        /// 到付结算价，与分销商结算价格
        /// </summary>
        public decimal SettlementPrice2 { get; set; }
        /// <summary>
        /// 预付结算价，与分销商结算价格
        /// </summary>
        public decimal SettlementPrice3 { get; set; }
        /// <summary>
        /// 价格政策ID
        /// </summary>
        public int PolicyID { get; set; }
        /// <summary>
        /// 价格政策名称
        /// </summary>
        public string PolicyName { get; set; }
        /// <summary>
        /// 价格政策优先级  数字越大，优先级越高  1，2，3   零表示没有优先级
        /// </summary>
        public int Priority { get; set; }

        #endregion
    }
}
